package com.yhs.YShop.moudle.user.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.yhs.YShop.moudle.user.dto.UserDto;
import com.yhs.YShop.moudle.user.model.User;
import com.yhs.YShop.moudle.user.model.UserLog;

public interface UserService {

	/**
	 * 查询用户的登录日志信息
	 * @param pageable
	 * @return
	 */
	Page<UserLog> findAllUserLog(Pageable pageable);
	/**
	 * 查询用户数据信息
	 * @param pageable
	 * @return
	 */
	Page<User> selectPageUserInfo(Pageable pageable);
	/**
	 * 添加用户信息
	 * @param userDto
	 * @return
	 */
	Integer addUser(UserDto userDto) throws Exception;
	
}
